package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 清关申请对象 erp_clearance
 * 
 * @author ruoyi
 * @date 2025-03-26
 */
public class ErpClearance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 寄件编码 */
    @Excel(name = "寄件编码")
    private String sendId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNumber;

    /** 清关时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "清关时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date customsClearanceTime;

    /** 清关状态 */
    @Excel(name = "清关状态")
    private Long customsClearanceStatus;

    /** 盘点状态 */
    @Excel(name = "盘点状态")
    private Long stocktakingStatus;

    /** 盘点时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "盘点时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stocktakingTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSendId(String sendId) 
    {
        this.sendId = sendId;
    }

    public String getSendId() 
    {
        return sendId;
    }
    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }
    public void setCustomsClearanceTime(Date customsClearanceTime) 
    {
        this.customsClearanceTime = customsClearanceTime;
    }

    public Date getCustomsClearanceTime() 
    {
        return customsClearanceTime;
    }
    public void setCustomsClearanceStatus(Long customsClearanceStatus) 
    {
        this.customsClearanceStatus = customsClearanceStatus;
    }

    public Long getCustomsClearanceStatus() 
    {
        return customsClearanceStatus;
    }
    public void setStocktakingStatus(Long stocktakingStatus) 
    {
        this.stocktakingStatus = stocktakingStatus;
    }

    public Long getStocktakingStatus() 
    {
        return stocktakingStatus;
    }
    public void setStocktakingTime(Date stocktakingTime) 
    {
        this.stocktakingTime = stocktakingTime;
    }

    public Date getStocktakingTime() 
    {
        return stocktakingTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sendId", getSendId())
            .append("orderNumber", getOrderNumber())
            .append("customsClearanceTime", getCustomsClearanceTime())
            .append("customsClearanceStatus", getCustomsClearanceStatus())
            .append("stocktakingStatus", getStocktakingStatus())
            .append("stocktakingTime", getStocktakingTime())
            .toString();
    }
}
